<?php

declare(strict_types=1);

namespace App\Common\Bootstrap;

use Hyperf\Utils\ApplicationContext;
use Swoole\Server;
use Swoole\Table;

class BeforeStartCallback
{
    public function beforeStart()
    {
//        $table = new Table(1024);
//        $table->column('lsy_pull_count', Table::TYPE_INT);
//        $table->create();
//
//        $container = ApplicationContext::getContainer();
//        $server = $container->get(Server::class);
//        $server->table = $table;
    }
}
